package com.ddy.test;


public class StringAppend {
	public static void main(String[] args) {
		int[] all = new int[34];
		for(int i=1;i<=34;i++){
			int[] item = new int[18];
			System.out.println("\"BX" + String.format("%03d", i) + "\":{");
			for(int j=1;j<=17;j++){
				item[j] = (int) (Math.random()*1000);
				System.out.print("\"10/" + String.format("%02d", j) + "\":" + item[j] + ", ");
				all[j] += item[j];
			}
			
			System.out.println("},");
		}
		System.out.println("\"ALL\":{");
		for(int i=1;i<=17;i++){
			System.out.print("\"10/" + String.format("%02d", i) + "\":" + all[i] + ", ");
		}
		System.out.println("},");
	}
}
